@echo off

if exist "%ProgramFiles%\PHP-GTK\php.exe" set _=%ProgramFiles%\PHP-GTK\php.exe
if exist "%cd%\PHP-GTK\php.exe" set _=%cd%\PHP-GTK\php.exe
if exist "%cd%\php.exe" set _=%cd%\php.exe
if "%_%" == "" @goto NoPHP
if not exist "%_%" @goto NoPHP
"%_%" "%cd%\manta.php"
goto End

:NoPHP
echo "Couldn't find PHP-GTK."
goto End

:End
set _=""
pause
@echo on
